package com.ruoyi.travel.mapper;

import java.util.List;
import com.ruoyi.travel.domain.FoodDetail;

/**
 * 特色美食Mapper接口
 * 
 * @author ruoyi
 * @date 2024-12-07
 */
public interface FoodDetailMapper 
{
    /**
     * 查询特色美食
     * 
     * @param id 特色美食主键
     * @return 特色美食
     */
    public FoodDetail selectFoodDetailById(Long id);

    /**
     * 查询特色美食列表
     * 
     * @param foodDetail 特色美食
     * @return 特色美食集合
     */
    public List<FoodDetail> selectFoodDetailList(FoodDetail foodDetail);

    /**
     * 新增特色美食
     * 
     * @param foodDetail 特色美食
     * @return 结果
     */
    public int insertFoodDetail(FoodDetail foodDetail);

    /**
     * 修改特色美食
     * 
     * @param foodDetail 特色美食
     * @return 结果
     */
    public int updateFoodDetail(FoodDetail foodDetail);

    /**
     * 删除特色美食
     * 
     * @param id 特色美食主键
     * @return 结果
     */
    public int deleteFoodDetailById(Long id);

    /**
     * 批量删除特色美食
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFoodDetailByIds(Long[] ids);
}
